//
//  ImVCollectionVCell.m
//  Travel assistant
//
//  Created by lanou3g on 16/2/29.
//  Copyright © 2016年 旅游助手. All rights reserved.
//

#import "ImVCollectionVCell.h"

@implementation ImVCollectionVCell

- (void)awakeFromNib {
    // Initialization code
}
- (void)setTravelDiaryModel:(TravelDiaryModel *)travelDiaryModel{
    _travelDiaryModel = travelDiaryModel;
    AVFile *file = [travelDiaryModel objectForKey:@"notesImage"];
    [self.diaryImV sd_setImageWithURL:[NSURL URLWithString:file.url] placeholderImage:[UIImage imageNamed:@"diary_32px_1175553_easyicon.net"]];
}
@end
